﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;


namespace TyMES.ViewModel.BaseInformation.ProduceDataTypeVMs
{
    public partial class ProduceDataTypeTemplateVM : BaseTemplateVM
    {
        [Display(Name = "产线号")]
        public ExcelPropety lineCode_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.lineCode);
        [Display(Name = "工位号")]
        public ExcelPropety stationCode_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.stationCode);
        [Display(Name = "数据类型")]
        public ExcelPropety dataType_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.dataType);
        [Display(Name = "数据名表")]
        public ExcelPropety nameTable_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.nameTable);
        [Display(Name = "工单号")]
        public ExcelPropety orderCode_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.orderCode);
        [Display(Name = "排程号")]
        public ExcelPropety scheduleCode_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.scheduleCode);
        [Display(Name = "设备编码")]
        public ExcelPropety machineCode_Excel = ExcelPropety.CreateProperty<ProduceDataType>(x => x.machineCode);

	    protected override void InitVM()
        {
        }

    }

    public class ProduceDataTypeImportVM : BaseImportVM<ProduceDataTypeTemplateVM, ProduceDataType>
    {

    }

}
